package com.xlh.dao.statistic.ext;

import com.xlh.dto.statistic.StudentTaskDTO;
import com.xlh.dto.statistic.TaskDTO;
import com.xlh.pojo.statistic.StatisticStudentTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentTaskMapperExt {

    List<TaskDTO> queryTaskList(@Param("courseId") Long courseId, @Param("classId") Long classId,
                                @Param("userInfo") String userInfo);

    List<StudentTaskDTO> queryStudentTask(@Param("courseId") Long courseId, @Param("classId") Long classId,
                                          @Param("userId") Long userId, @Param("type") Integer type);

    void insertBatch(@Param("list") List<StatisticStudentTask> list);

    void updateBatch(@Param("list") List<StatisticStudentTask> list);

}